#define _CRT_SECURE_NO_WARNINGS
#include "SList-study.h"

void test1() {
	SLTNode* sl = SLTBuyNode(1);
	SLTPushBack(&sl,2);
	SLTPrint(sl);
	SLTPushFrond(&sl, 0);
	SLTPrint(sl);
	SLTPopBack(&sl);
	SLTPrint(sl);
	SLTNode* find = SLTFind(sl,1);
	printf("%d \n", find->data);
}

int main() {
	test1();
	return 0;
}